package minishell.object;

import java.util.Map;

public class MapObject<K, V> implements IObject
{
	private static final String KEY = "key";
	private static final String VALUE = "value";
	private static final String[] PROPERTIES = { KEY, VALUE };
	
	private Map<K, V> map = null;
	
	public MapObject( Map<K, V> map )
	{
		this.map = map;
	}

	public Map<K, V> getPrimitive()
	{
		return this.map;
	}

	public Object getValue( String property )
	{
		return new String[]{ "(now implemented yet)" };
	}

	public String[] properties()
	{
		return PROPERTIES;
	}

	public String toString()
	{
		return super.toString();
	}

}
